package com.umpay.dto.merBusi.req.split;

import com.umpay.annotation.Pattern;
import com.umpay.dto.merBusi.req.CommonBusiReq;

import javax.validation.constraints.NotNull;

/**
 * 
 * @ClassName: TransSplitQueryBusiReq  
 * @Description: 分账查询业务处理请求类 
 * @author liuhaidong  
 * @date 
 */
public class TransSplitQueryBusiReq extends CommonBusiReq {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@NotNull(message = "商户订单号不能为空")		
	@Pattern(message = "商户订单号格式不正确")
	private String orderId;	//变长32	商户订单号
	
	@NotNull(message = "商户订单日期不能为空")		
	@Pattern(message = "商户订单日期格式不正确")
	private String orderDate;	//定长8	商户订单日期
	
	
	@NotNull(message = "商户号不能为空")	
	@Pattern(message="商户号格式不正确")
	private String merId;	//变长8	商户号

	@NotNull(message = "业务产品号不能为空")		
	@Pattern(message = "业务产品号格式不正确")
	private String bProductId;	//变长8	业务产品号
	
	@NotNull(message = "支付产品不能为空")		
	@Pattern(message = "支付产品格式不正确")
	private String pProductId;	//定长8	产品号
	
	public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public String getOrderDate() {
		return orderDate;
	}

	public void setOrderDate(String orderDate) {
		this.orderDate = orderDate;
	}

	public String getMerId() {
		return merId;
	}

	public void setMerId(String merId) {
		this.merId = merId;
	}

	public String getbProductId() {
		return bProductId;
	}

	public void setbProductId(String bProductId) {
		this.bProductId = bProductId;
	}

	public String getpProductId() {
		return pProductId;
	}

	public void setpProductId(String pProductId) {
		this.pProductId = pProductId;
	}
	
	@Override
	public String toString() {
		return "TransSplitQueryBusiReq [rpid=" +rpid + ",version=" +version +", orderId=" + orderId + ", orderDate=" + orderDate
				+ ",merId=" + merId  + ", bProductId=" + bProductId + ", pProductId=" + pProductId +"]";
	}



}
